package com.xueyi.system.recallManager.domain.po;

import java.math.BigDecimal;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xueyi.common.core.web.tenant.base.TBaseEntity;
import com.xueyi.system.recallManager.domain.dto.RecallManagerDto;
import com.baomidou.mybatisplus.annotation.TableField;
import com.xueyi.common.core.annotation.Excel;

/**
 * 召回管理 持久化对象
 *
 * @author zlf
 */
@TableName(value = "base_recall_manager", excludeProperty = {"name","sort","status"})
public class RecallManagerPo extends TBaseEntity {

    private static final long serialVersionUID = 1L;

    /** 编码 */
@Excel(name = "编码")
@TableField("code")
private String code;

    /** 产品id */
@Excel(name = "产品id")
@TableField("product_id")
private String productId;

    /** 产品名称 */
@Excel(name = "产品名称")
@TableField("product_name")
private String productName;

    /** 规格 */
@Excel(name = "规格")
@TableField("specs")
private String specs;

    /** 发货批次 */
@Excel(name = "发货批次")
@TableField("batch")
private String batch;

    /** 召回数量 */
@Excel(name = "召回数量")
@TableField("num")
private BigDecimal num;

    /** 召回原因 */
@Excel(name = "召回原因")
@TableField("reason")
private String reason;

    /** 召回单位 */
@Excel(name = "召回单位")
@TableField("recall_enterprise")
private String recallEnterprise;

    /** 联系人 */
@Excel(name = "联系人")
@TableField("liaison_man")
private String liaisonMan;

    /** 地址 */
@Excel(name = "地址")
@TableField("address")
private String address;

    /** 号回日期 */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@Excel(name = "号回日期", width = 30, dateFormat = "yyyy-MM-dd")
@TableField("date_time")
private LocalDateTime dateTime;

    /** 图片 */
@Excel(name = "图片")
@TableField("image")
private String image;

public void setCode(String code) {
    this.code = code;
}

public String getCode() {
    return code;
}

public void setProductId(String productId) {
    this.productId = productId;
}

public String getProductId() {
    return productId;
}

public void setProductName(String productName) {
    this.productName = productName;
}

public String getProductName() {
    return productName;
}

public void setSpecs(String specs) {
    this.specs = specs;
}

public String getSpecs() {
    return specs;
}

public void setBatch(String batch) {
    this.batch = batch;
}

public String getBatch() {
    return batch;
}

public void setNum(BigDecimal num) {
    this.num = num;
}

public BigDecimal getNum() {
    return num;
}

public void setReason(String reason) {
    this.reason = reason;
}

public String getReason() {
    return reason;
}

public void setRecallEnterprise(String recallEnterprise) {
    this.recallEnterprise = recallEnterprise;
}

public String getRecallEnterprise() {
    return recallEnterprise;
}

public void setLiaisonMan(String liaisonMan) {
    this.liaisonMan = liaisonMan;
}

public String getLiaisonMan() {
    return liaisonMan;
}

public void setAddress(String address) {
    this.address = address;
}

public String getAddress() {
    return address;
}

public void setDateTime(LocalDateTime dateTime) {
    this.dateTime = dateTime;
}

public LocalDateTime getDateTime() {
    return dateTime;
}

public void setImage(String image) {
    this.image = image;
}

public String getImage() {
    return image;
}

}
